﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class WorldCameraManagerWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(WorldCameraManager);
			Utils.BeginObjectRegister(type, L, translator, 0, 18, 9, 4);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCamera", _m_SetCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCamera", _m_GetCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Initialize", _m_Initialize);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Dispose", _m_Dispose);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnUpdate", _m_OnUpdate);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLastCenterViewPosition", _m_GetLastCenterViewPosition);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCenterViewPosition", _m_UpdateCenterViewPosition);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetTileSize", _m_SetTileSize);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetBoundary", _m_SetBoundary);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCameraCorner", _m_GetCameraCorner);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "InCamera", _m_InCamera);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCameraHeight", _m_GetCameraHeight);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCameraFOV", _m_GetCameraFOV);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCameraCenter", _m_GetCameraCenter);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsOnUI", _m_IsOnUI);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetServerViewRect", _m_SetServerViewRect);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetServerViewRange", _m_SetServerViewRange);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckPosInServerRect", _m_CheckPosInServerRect);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "CenterViewPosition", _g_get_CenterViewPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseDistance", _g_get_BaseDistance);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "CameraFOV", _g_get_CameraFOV);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxWidth", _g_get_MaxWidth);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxHeight", _g_get_MaxHeight);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_CornersPosition", _g_get_m_CornersPosition);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_isScreenUpdate", _g_get_m_isScreenUpdate);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ShowViewGrid", _g_get_ShowViewGrid);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "mobileTouchCamera", _g_get_mobileTouchCamera);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_CornersPosition", _s_set_m_CornersPosition);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_isScreenUpdate", _s_set_m_isScreenUpdate);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "ShowViewGrid", _s_set_ShowViewGrid);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "mobileTouchCamera", _s_set_mobileTouchCamera);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 25, 4, 3);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "DistanceOfPointToVector", _m_DistanceOfPointToVector_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FocusTo", _m_FocusTo_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "FocusToByTime", _m_FocusToByTime_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "MoveTo", _m_MoveTo_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ChangPosToViewCenter", _m_ChangPosToViewCenter_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ZoomFOVImmediately", _m_ZoomFOVImmediately_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetFOVImmediately", _m_SetFOVImmediately_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ZoomLOD", _m_ZoomLOD_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetLOD0MinPercent", _m_SetLOD0MinPercent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetLOD0MaxPercent", _m_SetLOD0MaxPercent_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ZoomTo", _m_ZoomTo_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "ShowBound", _m_ShowBound_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "SetMinDistance", _m_SetMinDistance_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AddLuaMoveEventHandler", _m_AddLuaMoveEventHandler_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RemoveLuaMoveEventHandler", _m_RemoveLuaMoveEventHandler_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "AddLuaMoveEndEventHandler", _m_AddLuaMoveEndEventHandler_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "RemoveLuaMoveEndEventHandler", _m_RemoveLuaMoveEndEventHandler_xlua_st_);
            
			Utils.RegisterFunc(L, Utils.CLS_IDX, "moveEventHandler", _e_moveEventHandler);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "scaleEventHandler", _e_scaleEventHandler);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "moveEvent3DHandler", _e_moveEvent3DHandler);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "luaMoveEventHandler", _e_luaMoveEventHandler);
			Utils.RegisterFunc(L, Utils.CLS_IDX, "luaMoveEndEventHandler", _e_luaMoveEndEventHandler);
			
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CAMERA_HEIGHT_CHECK", WorldCameraManager.CAMERA_HEIGHT_CHECK);
            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "CAMERA_FOV_CHECK", WorldCameraManager.CAMERA_FOV_CHECK);
            
			Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "mainCamera", _g_get_mainCamera);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "hMainCamera", _g_get_hMainCamera);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "cameraController", _g_get_cameraController);
            Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "MinOffset", _g_get_MinOffset);
            
			Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "mainCamera", _s_set_mainCamera);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "hMainCamera", _s_set_hMainCamera);
            Utils.RegisterFunc(L, Utils.CLS_SETTER_IDX, "MinOffset", _s_set_MinOffset);
            
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new WorldCameraManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new WorldCameraManager();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Camera _camera = (UnityEngine.Camera)translator.GetObject(L, 2, typeof(UnityEngine.Camera));
                    
                    gen_to_be_invoked.SetCamera( _camera );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCamera(  );
                        translator.Push(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Initialize(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& translator.Assignable<Yoozoo.Framework.Core.SingletonMono<WorldCameraManager>.Options>(L, 2)) 
                {
                    Yoozoo.Framework.Core.SingletonMono<WorldCameraManager>.Options _options = (Yoozoo.Framework.Core.SingletonMono<WorldCameraManager>.Options)translator.GetObject(L, 2, typeof(Yoozoo.Framework.Core.SingletonMono<WorldCameraManager>.Options));
                    
                    gen_to_be_invoked.Initialize( _options );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1) 
                {
                    
                    gen_to_be_invoked.Initialize(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.Initialize!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Dispose(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.Dispose(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnUpdate(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.OnUpdate(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetLastCenterViewPosition(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetLastCenterViewPosition(  );
                        translator.PushUnityEngineVector2(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_UpdateCenterViewPosition(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector2 _currentPosition;translator.Get(L, 2, out _currentPosition);
                    
                    gen_to_be_invoked.UpdateCenterViewPosition( _currentPosition );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_DistanceOfPointToVector_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Vector3 _startPoint;translator.Get(L, 1, out _startPoint);
                    UnityEngine.Vector3 _endPoint;translator.Get(L, 2, out _endPoint);
                    UnityEngine.Vector3 _point;translator.Get(L, 3, out _point);
                    
                        var gen_ret = WorldCameraManager.DistanceOfPointToVector( _startPoint, _endPoint, _point );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetTileSize(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    int _tileWidth = LuaAPI.xlua_tointeger(L, 2);
                    int _tileHeight = LuaAPI.xlua_tointeger(L, 3);
                    int _XNum = LuaAPI.xlua_tointeger(L, 4);
                    
                    gen_to_be_invoked.SetTileSize( _tileWidth, _tileHeight, _XNum );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetBoundary(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector2 _o;translator.Get(L, 2, out _o);
                    UnityEngine.Vector2 _size;translator.Get(L, 3, out _size);
                    
                    gen_to_be_invoked.SetBoundary( _o, _size );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FocusTo_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 4);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    WorldCameraManager.FocusTo( _pos, _duration, _ease, _callback, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 4)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 4);
                    
                    WorldCameraManager.FocusTo( _pos, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    
                    WorldCameraManager.FocusTo( _pos, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    WorldCameraManager.FocusTo( _pos, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.FocusTo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_FocusToByTime_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 4);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    WorldCameraManager.FocusToByTime( _pos, _duration, _ease, _callback, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 4)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 4);
                    
                    WorldCameraManager.FocusToByTime( _pos, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    
                    WorldCameraManager.FocusToByTime( _pos, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<UnityEngine.Vector2>(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    WorldCameraManager.FocusToByTime( _pos, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.FocusToByTime!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_MoveTo_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    
                    WorldCameraManager.MoveTo( _pos );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ChangPosToViewCenter_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    UnityEngine.Vector2 _pos;translator.Get(L, 1, out _pos);
                    
                    WorldCameraManager.ChangPosToViewCenter( _pos );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomFOVImmediately_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _percent = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    WorldCameraManager.ZoomFOVImmediately( _percent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetFOVImmediately_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _percent = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    WorldCameraManager.SetFOVImmediately( _percent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomLOD_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 1);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    
                    WorldCameraManager.ZoomLOD( _lodLayer, _percent, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 1);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    WorldCameraManager.ZoomLOD( _lodLayer, _percent, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    int _lodLayer = LuaAPI.xlua_tointeger(L, 1);
                    float _percent = (float)LuaAPI.lua_tonumber(L, 2);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    WorldCameraManager.ZoomLOD( _lodLayer, _percent, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.ZoomLOD!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetLOD0MinPercent_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _minPercent = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    WorldCameraManager.SetLOD0MinPercent( _minPercent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetLOD0MaxPercent_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _minPercent = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    WorldCameraManager.SetLOD0MaxPercent( _minPercent );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ZoomTo_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 4)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 1);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 4);
                    
                    WorldCameraManager.ZoomTo( _zoom, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<DG.Tweening.Ease>(L, 3)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 1);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    DG.Tweening.Ease _ease;translator.Get(L, 3, out _ease);
                    
                    WorldCameraManager.ZoomTo( _zoom, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) 
                {
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 1);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 2);
                    
                    WorldCameraManager.ZoomTo( _zoom, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.ZoomTo!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ShowBound_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 6&& translator.Assignable<UnityEngine.Vector4>(L, 1)&& translator.Assignable<UnityEngine.Vector4>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6)) 
                {
                    UnityEngine.Vector4 _bound;translator.Get(L, 1, out _bound);
                    UnityEngine.Vector4 _uiBound;translator.Get(L, 2, out _uiBound);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    float _zoom = (float)LuaAPI.lua_tonumber(L, 6);
                    
                    WorldCameraManager.ShowBound( _bound, _uiBound, _duration, _ease, _callback, _zoom );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 5&& translator.Assignable<UnityEngine.Vector4>(L, 1)&& translator.Assignable<UnityEngine.Vector4>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)&& translator.Assignable<DG.Tweening.TweenCallback>(L, 5)) 
                {
                    UnityEngine.Vector4 _bound;translator.Get(L, 1, out _bound);
                    UnityEngine.Vector4 _uiBound;translator.Get(L, 2, out _uiBound);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    DG.Tweening.TweenCallback _callback = translator.GetDelegate<DG.Tweening.TweenCallback>(L, 5);
                    
                    WorldCameraManager.ShowBound( _bound, _uiBound, _duration, _ease, _callback );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 4&& translator.Assignable<UnityEngine.Vector4>(L, 1)&& translator.Assignable<UnityEngine.Vector4>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<DG.Tweening.Ease>(L, 4)) 
                {
                    UnityEngine.Vector4 _bound;translator.Get(L, 1, out _bound);
                    UnityEngine.Vector4 _uiBound;translator.Get(L, 2, out _uiBound);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    DG.Tweening.Ease _ease;translator.Get(L, 4, out _ease);
                    
                    WorldCameraManager.ShowBound( _bound, _uiBound, _duration, _ease );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 3&& translator.Assignable<UnityEngine.Vector4>(L, 1)&& translator.Assignable<UnityEngine.Vector4>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
                {
                    UnityEngine.Vector4 _bound;translator.Get(L, 1, out _bound);
                    UnityEngine.Vector4 _uiBound;translator.Get(L, 2, out _uiBound);
                    float _duration = (float)LuaAPI.lua_tonumber(L, 3);
                    
                    WorldCameraManager.ShowBound( _bound, _uiBound, _duration );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.ShowBound!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetMinDistance_xlua_st_(RealStatePtr L)
        {
		    try {
            
            
            
                
                {
                    float _value = (float)LuaAPI.lua_tonumber(L, 1);
                    
                    WorldCameraManager.SetMinDistance( _value );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddLuaMoveEventHandler_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Action<UnityEngine.Vector2> _action = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 1);
                    
                    WorldCameraManager.AddLuaMoveEventHandler( _action );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveLuaMoveEventHandler_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Action<UnityEngine.Vector2> _action = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 1);
                    
                    WorldCameraManager.RemoveLuaMoveEventHandler( _action );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_AddLuaMoveEndEventHandler_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Action<UnityEngine.Vector2> _action = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 1);
                    
                    WorldCameraManager.AddLuaMoveEndEventHandler( _action );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_RemoveLuaMoveEndEventHandler_xlua_st_(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
            
                
                {
                    System.Action<UnityEngine.Vector2> _action = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 1);
                    
                    WorldCameraManager.RemoveLuaMoveEndEventHandler( _action );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCameraCorner(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCameraCorner(  );
                        translator.PushUnityEngineVector4(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_InCamera(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    
                        var gen_ret = gen_to_be_invoked.InCamera( _position );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCameraHeight(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCameraHeight(  );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCameraFOV(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCameraFOV(  );
                        LuaAPI.lua_pushnumber(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetCameraCenter(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.GetCameraCenter(  );
                        translator.PushUnityEngineVector2(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_IsOnUI(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                        var gen_ret = gen_to_be_invoked.IsOnUI(  );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetServerViewRect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _centerX = (float)LuaAPI.lua_tonumber(L, 2);
                    float _centerY = (float)LuaAPI.lua_tonumber(L, 3);
                    float _width = (float)LuaAPI.lua_tonumber(L, 4);
                    float _height = (float)LuaAPI.lua_tonumber(L, 5);
                    int _gridWidth = LuaAPI.xlua_tointeger(L, 6);
                    int _gridHeight = LuaAPI.xlua_tointeger(L, 7);
                    float _angle = (float)LuaAPI.lua_tonumber(L, 8);
                    
                    gen_to_be_invoked.SetServerViewRect( _centerX, _centerY, _width, _height, _gridWidth, _gridHeight, _angle );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetServerViewRange(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    float _left = (float)LuaAPI.lua_tonumber(L, 2);
                    float _right = (float)LuaAPI.lua_tonumber(L, 3);
                    float _top = (float)LuaAPI.lua_tonumber(L, 4);
                    float _bottom = (float)LuaAPI.lua_tonumber(L, 5);
                    
                    gen_to_be_invoked.SetServerViewRange( _left, _right, _top, _bottom );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_CheckPosInServerRect(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    UnityEngine.Vector3 _position;translator.Get(L, 2, out _position);
                    
                        var gen_ret = gen_to_be_invoked.CheckPosInServerRect( _position );
                        LuaAPI.lua_pushboolean(L, gen_ret);
                    
                    
                    
                    return 1;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mainCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, WorldCameraManager.mainCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_hMainCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, WorldCameraManager.hMainCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CenterViewPosition(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                translator.PushUnityEngineVector2(L, gen_to_be_invoked.CenterViewPosition);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_cameraController(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.Push(L, WorldCameraManager.cameraController);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_BaseDistance(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BaseDistance);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_CameraFOV(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.CameraFOV);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MaxWidth(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.MaxWidth);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MaxHeight(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.MaxHeight);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_CornersPosition(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.m_CornersPosition);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_MinOffset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    translator.PushUnityEngineVector3(L, WorldCameraManager.MinOffset);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_m_isScreenUpdate(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.m_isScreenUpdate);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ShowViewGrid(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.ShowViewGrid);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_mobileTouchCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.mobileTouchCamera);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_mainCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    WorldCameraManager.mainCamera = (UnityEngine.Camera)translator.GetObject(L, 1, typeof(UnityEngine.Camera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_hMainCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    WorldCameraManager.hMainCamera = (Yoozoo.HRP.Runtime.HCamera)translator.GetObject(L, 1, typeof(Yoozoo.HRP.Runtime.HCamera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_CornersPosition(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_CornersPosition = (UnityEngine.Vector3[])translator.GetObject(L, 2, typeof(UnityEngine.Vector3[]));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_MinOffset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			UnityEngine.Vector3 gen_value;translator.Get(L, 1, out gen_value);
				WorldCameraManager.MinOffset = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_m_isScreenUpdate(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.m_isScreenUpdate = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_ShowViewGrid(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.ShowViewGrid = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_mobileTouchCamera(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                WorldCameraManager gen_to_be_invoked = (WorldCameraManager)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.mobileTouchCamera = (BitBenderGames.MobileTouchCamera)translator.GetObject(L, 2, typeof(BitBenderGames.MobileTouchCamera));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_moveEventHandler(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
                System.Action<UnityEngine.Vector2> gen_delegate = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 2);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#2 need System.Action<UnityEngine.Vector2>!");
                }
                
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) {
					WorldCameraManager.moveEventHandler += gen_delegate;
					return 0;
				} 
				
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) {
					WorldCameraManager.moveEventHandler -= gen_delegate;
					return 0;
				} 
				
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.moveEventHandler!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_scaleEventHandler(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
                System.Action<float> gen_delegate = translator.GetDelegate<System.Action<float>>(L, 2);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#2 need System.Action<float>!");
                }
                
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) {
					WorldCameraManager.scaleEventHandler += gen_delegate;
					return 0;
				} 
				
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) {
					WorldCameraManager.scaleEventHandler -= gen_delegate;
					return 0;
				} 
				
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.scaleEventHandler!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_moveEvent3DHandler(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
                System.Action<UnityEngine.Vector3> gen_delegate = translator.GetDelegate<System.Action<UnityEngine.Vector3>>(L, 2);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#2 need System.Action<UnityEngine.Vector3>!");
                }
                
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) {
					WorldCameraManager.moveEvent3DHandler += gen_delegate;
					return 0;
				} 
				
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) {
					WorldCameraManager.moveEvent3DHandler -= gen_delegate;
					return 0;
				} 
				
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.moveEvent3DHandler!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_luaMoveEventHandler(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
                System.Action<UnityEngine.Vector2> gen_delegate = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 2);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#2 need System.Action<UnityEngine.Vector2>!");
                }
                
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) {
					WorldCameraManager.luaMoveEventHandler += gen_delegate;
					return 0;
				} 
				
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) {
					WorldCameraManager.luaMoveEventHandler -= gen_delegate;
					return 0;
				} 
				
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.luaMoveEventHandler!");
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _e_luaMoveEndEventHandler(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			    int gen_param_count = LuaAPI.lua_gettop(L);
                System.Action<UnityEngine.Vector2> gen_delegate = translator.GetDelegate<System.Action<UnityEngine.Vector2>>(L, 2);
                if (gen_delegate == null) {
                    return LuaAPI.luaL_error(L, "#2 need System.Action<UnityEngine.Vector2>!");
                }
                
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "+")) {
					WorldCameraManager.luaMoveEndEventHandler += gen_delegate;
					return 0;
				} 
				
				
				if (gen_param_count == 2 && LuaAPI.xlua_is_eq_str(L, 1, "-")) {
					WorldCameraManager.luaMoveEndEventHandler -= gen_delegate;
					return 0;
				} 
				
			} catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
			return LuaAPI.luaL_error(L, "invalid arguments to WorldCameraManager.luaMoveEndEventHandler!");
        }
        
    }
}
